/*
 * @Description: config读取模块测试
 * @Author: BiChunkai 321521004@qq.com
 * @Date: 2025-06-03 13:33:05
 * @FilePath: /armEyeCalib_cpp/configDemo/test_configread.cpp
 * 
 * Copyright (c) 2025 by 无锡捷普迅科技有限公司, All Rights Reserved. 
 */
#include "configread.h"

int main()
{
    ConfigRead config;
    try
    {
        config.load("../config.ini");
        std::string value = config.get("Camera", "CameraIndex");
        std::cout << "Value of Camera.CameraIndex: " << value << std::endl;
    }
    catch (const std::exception &e)
    {
        std::cerr << "Error: " << e.what() << std::endl;
    }

    return 0;
}